package com.dianqiu.common.bean;

import java.util.HashSet;
import java.util.Set;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.FetchType;
import javax.persistence.Id;
import javax.persistence.JoinColumn;
import javax.persistence.ManyToOne;
import javax.persistence.Table;

import com.dianqiu.base.bean.BaseTO;

/**
 * DqStadiums entity. @author MyEclipse Persistence Tools
 */
@Entity
@Table(name = "dq_stadiums", catalog = "dq_dev")
public class DqStadiumsTO extends BaseTO implements java.io.Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 1L;
	private Integer stdmId;
	private DqCityTO dqCity;
	private String stdmName;
	private String stdmNameEn;
	private String stdmNameSc;
	private String stdmNameTc;
	private Integer numOfAudi;
	private Set<DqClubsTO> dqClubses = new HashSet<DqClubsTO>(0);

	@Id
	@Column(name = "STDM_ID", unique = true, nullable = false)
	public Integer getStdmId() {
		return this.stdmId;
	}

	public void setStdmId(Integer stdmId) {
		this.stdmId = stdmId;
	}

	@ManyToOne(fetch = FetchType.LAZY)
	@JoinColumn(name = "CITY_ID")
	public DqCityTO getDqCity() {
		return this.dqCity;
	}

	public void setDqCity(DqCityTO dqCity) {
		this.dqCity = dqCity;
	}

	@Column(name = "STDM_NAME", length = 45)
	public String getStdmName() {
		return this.stdmName;
	}

	public void setStdmName(String stdmName) {
		this.stdmName = stdmName;
	}

	@Column(name = "STDM_NAME_EN", length = 200)
	public String getStdmNameEn() {
		return this.stdmNameEn;
	}

	public void setStdmNameEn(String stdmNameEn) {
		this.stdmNameEn = stdmNameEn;
	}

	@Column(name = "STDM_NAME_SC", length = 200)
	public String getStdmNameSc() {
		return this.stdmNameSc;
	}

	public void setStdmNameSc(String stdmNameSc) {
		this.stdmNameSc = stdmNameSc;
	}

	@Column(name = "STDM_NAME_TC", length = 200)
	public String getStdmNameTc() {
		return this.stdmNameTc;
	}

	public void setStdmNameTc(String stdmNameTc) {
		this.stdmNameTc = stdmNameTc;
	}

	@Column(name = "NUM_OF_AUDI")
	public Integer getNumOfAudi() {
		return this.numOfAudi;
	}

	public void setNumOfAudi(Integer numOfAudi) {
		this.numOfAudi = numOfAudi;
	}

}